
package br.com.senacrs.validation;


public interface Validation <T>{
    public void validateInsert(T objeto);

    public void validateDelete(T objeto);

    public void validateUpdate(T objeto);

    public void validateSelectAll();

    public void validateSelectAllOrderBy(String order);

    public void validateSelectOne(Long id);

    public void validateSelectOneGet(Long id);

    public void validateSelectWhere(String criterio, String string);

    public void validateSelectWhere(String criterio, Long valor); 

    public void validateSelectWhere(String criterio, String criterioJoin, Long valor);    
}
